package decome03;

public class Pear extends Fruit{
    public Pear(String name, String area, double price) {
        super(name, area, price);
    }
    @Override
    public void eat() {
        System.out.println(getName());
    }


}
